package com.client.model.pojo.bank;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

/**
 * 
 * @TableName deposit_type
 */
@TableName(value ="deposit_type")
@Data
public class DepositType implements Serializable {
    /**
     * 利率类型表
     */
    @TableId(value = "id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /**
     * 利率名称
     */
    @TableField(value = "dname")
    private String dname;

    /**
     * 利率利
     */
    @TableField(value = "rate_count")
    private BigDecimal rateCount;

    /**
     * 0:活期  1:定期 2:异常
     */
    @TableField(value = "is_type")
    private Integer isType;

    /**
     * 冗余字段
     */
    @TableField(value = "remark")
    private Integer remark;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 修改时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}